﻿
@{
    ViewBag.Title = "Show";
}

@model Himall.Model.ShopBrandApplysInfo

<style type="text/css">
    #id_band img {
        width:100px;
        height:100px;
    }
</style>
<div class="container">
    <ul class="nav nav-tabs-custom clearfix">
        <strong>品牌</strong>
        <li><a href="./Verify">申请列表</a></li>
        <li class="active"><a>审核申请</a></li>
        <em class="primary-btn">
            <span class="glyphicon glyphicon-question-sign"></span>
            <div class="primary">
                <h3>温馨提示：</h3>
                <span>*</span><p>商家可申请品牌，待管理员审核后商家才可正常使用</p>
            </div>
        </em>
    </ul>
	<div id="id_band">
		<form role="form" class="form-horizontal" id="brandform">
			<div>
				<div class="form-group">
					<label class="col-sm-2 control-label">品牌名称：</label>
					<div class="col-sm-6 form-control-static">@Model.BrandName</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">是否平台现有品牌：</label>
					<div class="col-sm-6 form-control-static">
						@(Model.ApplyMode == 1 ? "是": "否")
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">品牌Logo：</label>
					<div class="col-sm-6 form-control-static"><img src="@Model.Logo" /></div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label" for="">简介：</label>
					<div class="col-sm-10 form-control-static">
						@Model.Description
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">品牌说明/授权资料：</label>
					<div class="col-sm-6 form-control-static">
						@{
							string[] pics = Model.AuthCertificate.Split(',');
							for (int i = 0; i < pics.Length; i++)
							{
								<img src="@pics[i]" />
							}
						}

					</div>
					<div class="col-sm-4"></div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label" for="">备注：</label>
					<div class="col-sm-10 form-control-static">@Model.Remark</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="button" class="btn btn-primary" id="btnOk" onclick="audit('@Model.Id');"> 通过审核 </button>&nbsp;&nbsp;&nbsp;
						<button type="button" class="btn btn-default" id="btnNo" onclick="refuse('@Model.Id');"> 拒绝 </button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>

<script src="~/Areas/Admin/Scripts/brandManagement.js"></script>